/**
 * @(#) NoticeVO.as
 *
 * @date		2009. 03. 11.
 * @version		1.0
 * @author		Park, JuneHo
 * @description	공지사항  Value Object
 * 				 
 */
package com.skt.common_hr.hrletter.model.vo
{
	import com.wcl.utils.DateUtil;
	
	[Bindable]
	public class NoticeVO
	{
				
		
		public var HLNUM:Number;		
				
		public var SEQ:Number;				//게시물 일련번호
		public var HLDAT:Date;				//작성일자
		public var HLDAT_TX:String;		//작성일자
		public var HLDAT_JSON:String;	//작성일자
		
		public var TITLE:String;				//게시물 제목
		public var ENAME:String;			//사원 또는 지원자의 포맷된 이름
		public var REDAT:Date;				//답변일자
		public var REDAT_TX:String;		//답변일자
		public var REDAT_JSON:String;	//답변일자				
		public var HLST:String;				//처리상태
		
		public var CONTENT:String;			
		public var RCONTENT:String;		// 답변
		
		public var CONTX:String;		//html뺀거	
		public var RCONTX:String;				
		
		public var HLSTA:String;		// 처리상태코드
		public var HLSTT:String;		// 처리상태 텍스트
		
		
		
		
		//public var TOTAL_ROW:int;				//총 row 수		
		private var _FILE_NAME:String;			//파일이름
		public var FILE_URL:String;				// url
		public var FILE_SIZE:String;			//파일 크기 byte
		public var FILE_EXT:String;				//확장명
		
		public var bAttatched:Boolean = false; 
		
		public function get HLDAT_F():String
		{
			return DateUtil.toDefaultString(HLDAT);
		}
		
		public function get REDAT_F():String
		{
			return DateUtil.toDefaultString(REDAT);
		}
		
		
		public function get FILE_NAME():String
		{
			return _FILE_NAME;
		}
		public function set FILE_NAME(n:String):void
		{
			_FILE_NAME = n;
			if(n.length > 0) bAttatched = true;
		}
	}
}